isOption
lib.isOption
Docs pulled from | This Revision | 17 minutes ago
Returns true when the given argument is an option
Type
isOption :: a -> bool
Examples
isOption
usage example
isOption 1 // => false
isOption (mkOption {}) // => true