isOption
lib.options.isOption
Docs pulled from | This Revision | 10 minutes ago
Returns true when the given argument a
is an option
Inputs
a
- Any value to check whether it is an option
Examples
lib.options.isOption
usage example
isOption 1 // => false
isOption (mkOption {}) // => true
Type
isOption :: a -> Bool
Noogle detected
Implementation
The following is the current implementation of this function.
isOption = lib.isType "option";