Skip to content

Commit bea8f8c

Browse files
authored
Update helpers.php
1 parent e5690be commit bea8f8c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/helpers.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,12 @@ function get_user_abilities(){
3232
return $abilities;
3333
}
3434
}
35+
36+
if(!function_exists('to_string_boolean')){
37+
function to_string_boolean($val){
38+
return !!$val === true ? 'true' : 'false';
39+
}
40+
}
41+
42+
43+

0 commit comments

Comments
 (0)