query
On this page

isOption

lib.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
(lib.options.isOption)

Noogle detected

Aliases