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