# Boolean - [`greater`](#greater) - [`greaterOrEqual`](#greaterorequal) - [`less`](#less) - [`lessOrEqual`](#lessorequal) - [`equal`](#equal) - [`notEqual`](#notequal) - [`identical`](#identical) - [`notIdentical`](#notidentical) - [`isNull`](#isnull) - [`isUndefined`](#isundefined) - [`isNil`](#isnil) - [`isNumber`](#isnumber) - [`isString`](#isstring) - [`isFunction`](#isfunction) - [`isArray`](#isarray) - [`isObject`](#isobject) - [`isDefined`](#isdefined) You can check the module import [`here`](./modules.md). #### greater Returns true if the first value is greater than the second value. ##### File ```typescript import { NgIsGreaterPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 0 | greater: 1 }} {{ 1 | greater: 0 }} {{ 1 | greater: 1 }} ``` #### greaterOrEqual Returns true if the first value is greater or equal to the second value. ##### File ```typescript import { NgIsGreaterOrEqualPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 0 | greaterOrEqual: 1 }} {{ 1 | greaterOrEqual: 0 }} {{ 1 | greaterOrEqual: 1 }} ``` #### less Returns true if the first value is less than the second value. ##### File ```typescript import { NgIsLessPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 0 | less: 1 }} {{ 1 | less: 0 }} {{ 1 | less: 1 }} ``` #### lessOrEqual Returns true if the first value is less or equal to the second value. ##### File ```typescript import { NgIsLessOrEqualPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 0 | lessOrEqual: 1 }} {{ 1 | lessOrEqual: 0 }} {{ 1 | lessOrEqual: 1 }} ``` #### equal Returns true if the value are equal (operator `==`). ##### File ```typescript import { NgIsEqualPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 0 | equal: 1 }} {{ 1 | equal: '1' }} {{ 1 | equal: 1 }} ``` #### notEqual Returns true if the value are not equal (operator `!=`). ##### File ```typescript import { NgIsNotEqualPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 0 | notEqual: 1 }} {{ 1 | notEqual: '1' }} {{ 1 | notEqual: 1 }} ``` #### identical Returns true if the value are identical (operator `===`). ##### File ```typescript import { NgIsIdenticalPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 0 | identical: 1 }} {{ 1 | identical: '1' }} {{ 1 | identical: 1 }} ``` #### notIdentical Returns true if the value are not identical (operator `!==`). ##### File ```typescript import { NgIsNotIdenticalPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 0 | notIdentical: 1 }} {{ 1 | notIdentical: '1' }} {{ 1 | notIdentical: 1 }} ``` #### isNull Returns true if the value if null. ##### File ```typescript import { NgIsNullPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ null | isNull }} {{ 1 | isNull }} ``` #### isUndefined Returns true if the value if undefined. ##### File ```typescript import { NgIsUndefinedPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ a | isUndefined }} {{ 1 | isUndefined }} ``` #### isNil Returns true if the value if null or undefined. ##### File ```typescript import { NgIsNilPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ a | isNil }} {{ null | isNil }} {{ 1 | isNil }} ``` #### isNumber Returns true if the value is a number. ##### File ```typescript import { NgIsNumberPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 'a' | isNumber }} {{ 1 | isNumber }} ``` #### isString Returns true if the value is a string. ##### File ```typescript import { NgIsStringPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 'a' | isString }} {{ 1 | isString }} ``` #### isFunction Returns true if the value is a function. ##### File ```typescript import { NgIsFunctionPipeModule } from 'angular-pipes'; ``` ##### Usage ```javascript myFn() { // ... } ``` ```html {{ 'a' | isFunction }} {{ myFn | isFunction }} ``` #### isArray Returns true if the value is an array. ##### File ```typescript import { NgIsArrayPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 'a' | isArray }} {{ [] | isArray }} ``` #### isObject Returns true if the value is an object. ##### File ```typescript import { NgIsObjectPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 'a' | isObject }} {{ {} | isObject }} ``` #### isDefined Returns true if the value is defined (nor null nor undefined). ##### File ```typescript import { NgIsDefinedPipeModule } from 'angular-pipes'; ``` ##### Usage ```html {{ 'a' | isDefined }} {{ null | isDefined }} {{ a | isDefined }} ```