• Overview
@angular/core

booleanAttribute

function

Transforms a value (typically a string) to a boolean. Intended to be used as a transform function of an input.

  
    function booleanAttribute(  value: unknown): boolean;
  
  

booleanAttribute

boolean

Transforms a value (typically a string) to a boolean. Intended to be used as a transform function of an input.

@paramvalueunknown

Value to be transformed.

@returnsboolean
Jump to details