SyntaxFix
Write A Post
Hire A Developer
Questions
! is "boolean not", which essentially typecasts the value of "enable" to its boolean opposite. The second ! flips this value. So, !!enable means "not not enable," giving you the value of enable as a boolean.
!!enable
enable