Created
February 11, 2018 19:47
-
-
Save kutliev/ae0a3dac3bc06aecc836830f9995db70 to your computer and use it in GitHub Desktop.
Check function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
canBeDeleted():boolean{ | |
return this.selectedSpot.cleanings.length == 0 && | |
this.selectedSpot.maintenances.length == 0 && | |
this.selectedSpot.payments.length == 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment