isPermissionGranted

Checks if the specified permission is granted.

Return

true if the permission is granted, false otherwise.

Parameters

permission

The permission to be checked.